tools/helpers: don't hardcode domain type for dom0 and xenstore domain
authorJuergen Gross <jgross@suse.com>
Wed, 25 Jul 2018 14:50:40 +0000 (16:50 +0200)
committerWei Liu <wei.liu2@citrix.com>
Fri, 27 Jul 2018 08:27:26 +0000 (09:27 +0100)
commit7757cce0ab399eabf1d93e610f6c2dc1a7b5e185
tree4df846536e0879d04755edf16dc9b933c4815467
parentf77626453232acec475afdd982319f64de0368e8
tools/helpers: don't hardcode domain type for dom0 and xenstore domain

Today when setting up a minimal domain configuration file for dom0 and
eventually xenstore-domain the domain type is harcoded as PV. Change
that by asking the hypervisor for the correct type.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/helpers/init-dom-json.c